package ru.kreda.webapp.server;

import net.customware.gwt.dispatch.server.ExecutionContext;
import net.customware.gwt.dispatch.shared.ActionException;
import ru.kreda.webapp.client.invocation.LoggedUserRequestAction;
import ru.kreda.webapp.client.invocation.LoggedUserRequestResult;

public class LoggedUserRequestHandler extends BaseActionHandler<LoggedUserRequestAction, LoggedUserRequestResult> {
	
	@Override
	public LoggedUserRequestResult executeAction(LoggedUserRequestAction action, ExecutionContext context) throws ActionException {
		return new LoggedUserRequestResult("Иванов И.И.");
	}

	@Override
	public Class<LoggedUserRequestAction> getActionType() {
		return LoggedUserRequestAction.class;
	}

}
